<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>add</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/amazeui.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/style/css/app.css">
<link
	href="${pageContext.request.contextPath}/style/css/bootstrap.min.css"
	rel="stylesheet">
<link
	href="${pageContext.request.contextPath}/style/layui/css/layui.css"
	rel="stylesheet">
<script src="${pageContext.request.contextPath}/style/js/jquery.min.js"></script>
<script
	src="${pageContext.request.contextPath}/style/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath}/style/js/amazeui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/style/layui/layui.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/style/js/data.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/style/js/province.js"></script>

</head>

<body>
	<form id="form" class="layui-form" action="#">
		<br>
		<div class="layui-form-item">

			<label class="layui-form-label">编号</label>
			<div class="layui-input-block" style="width:300px">
					<input type="text"
					class="am-form-field " name="zlId" readonly="true"
					id="zlId" value="${zl.zlId}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">茶名</label>
			<div class="layui-input-block" style="width:300px">
				<input type="text"
					class="am-form-field "   readonly="true"
					id="zlId" value="${teax.warehouseTeaname}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">检测结果</label>
			<div class="layui-input-block" style="width:300px">
				<input type="text"
					class="am-form-field "   readonly="true"
					id="zlId" value="${zl.result.codeName}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">检测时间</label>
			<div class="layui-input-block" style="width:300px">
				<input type="text"
					class="am-form-field "   readonly="true"
					id="zlId" value="${zl.zlTime}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">检测人</label>
			<div class="layui-input-block" style="width:300px">
				<input type="text"
					class="am-form-field "   readonly="true"
					id="zlId" value="${zl.user.userName}">
			</div>
		</div>
		<br>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button  class="btn btn-primary"  id="sub">确定</button>
			</div>
		</div>

	</form>
</body>
<script type="text/javascript">
	$("#sub").click(function(){
		var index = parent.layer.getFrameIndex(window.name);
		parent.layer.close(index);

	});
</script>
 
 </html>
